package com.lethelh.reflect.entity;

/**
 * Dog 实体类
 * @author jasonper
 */
public class Dog {
    static {
        System.out.println("Dog类已经被加载到JVM中，并已初始化");
    }
    private String nickName;
    private Integer age;

    public Dog() {
    }

    public Dog(String nickName, Integer age) {
        this.nickName = nickName;
        this.age = age;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
